/*
 * @Author: hanqifeitb 8592865+hanqifeitb@user.noreply.gitee.com
 * @Date: 2025-03-06 20:55:19
 * @LastEditors: hanqifeitb 8592865+hanqifeitb@user.noreply.gitee.com
 * @LastEditTime: 2025-03-16 15:56:26
 * @FilePath: /tianmu/nuxt-font/service/exam.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { get, post } from '../../utils/request'
// 创建试卷
export const handleCreateExam = (data) => post('/client/exam/create', data)

// 请求标签部分组件
export const getTagListTree = (data) => post('/client/label/list', data)

// 试卷详情
export const getExamDetail = (data) => post('/client/exam/detail', data)

// 试题详情
export const getQuestionDetail = (data) => post('/client/question/detail', data)

// 试题列表
export const getQuestionList = (data) => post('/client/question/list', data)

// 表格excel列表
export const getQuestionExcel = (data) => post('/client/question/excel/list', data)

// 提交试题
export const getQuestionRecordAdd = (data) => post('/client/question/record/add', data)

// 提交试卷
export const getExamHand = (data) => post('/client/exam/hand', data)

//获取考试记录列表
export const getExamRecordList = (data) => post('/client/exam/record', data)

// 考试统计
export const getQuestionCount = data => post('/client/question/count', data)

// 获取试题记录列表
export const getQuestionRecordList = (data) => post('/client/question/record/list', data)

// 作业详情
export const getHomeworkDetail = (data) => post('/client/homework/detail', data)

// 作业详情
export const getQyList = (data) => post('/client/goods/qy/list', data)

// 视频状态
export const getVideoStatus = data => post('/client/question/video', data)

// 题目下-评论列表：1帖子2视频解析3试题解析评论4考友解析5考友讨论6笔记
export const getCommentList = data => post('/client/comment/list', data)

// 题目下-写评论
export const getCommentAdd = data => post('/client/comment/add', data)

// 题目下-删除评论
export const getCommentDel = data => post('/client/comment/delete', data)

// 题目下-点赞评论
export const getCommentLike = data => post('/client/comment/like', data)